﻿using MiniFox.Infrastructure;
using MiniFox.Resources;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Sys.Core.Models.VO
{
    /// <summary>
    /// 
    /// </summary>
    [Table("organization")]
    public class OrganizationVo
    {
        [Key]
        [JsonProperty("orgId")]
        [Column("orgId")]
        public string OrganizationID { get; set; }

        [Display(Name = "机构名", ShortName = "机构名")]
        [JsonProperty("orgName")]
        [Column("orgName")]
        public string OrganizationName { get; set; }

        [Display(Name = "机构描述", ShortName = "机构描述")]
        [JsonProperty("description")]
        [Column("description")]
        public string Description { get; set; }

        [JsonProperty("displayName")]
        [Column("displayName")]
        public string DisplayName { get; set; }

        [JsonProperty("logo")]
        [Column("logo")]
        public string Logo { get; set; }

        [JsonProperty("icon")]
        [Column("icon")]
        public string Icon { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "创建时间", ShortName = "创建时间")]
        [JsonProperty("createTime")]
        [Column("createTime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "更新时间", ShortName = "更新时间")]
        [JsonProperty("updateTime")]
        [Column("updateTime")]
        public DateTime UpdateTime { get; set; }

    }
}
